package com.huatai.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huatai.manage.entity.TbInfoSubjectEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huatai.manage.entity.TbTrialSubjectEntity;
import com.huatai.manage.query.PageQuery;
import com.huatai.manage.vo.PageVo;
import com.huatai.manage.vo.TbInfoSubjectVo;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 试验对象关联; 服务类
 * </p>
 *
 * @author luoxc
 * @since 2023-03-21
 */
public interface TbInfoSubjectService extends IService<TbInfoSubjectEntity> {

	PageVo pageList(PageQuery<TbInfoSubjectEntity> pageQuery);

	TbInfoSubjectVo getOneById(String id);

	List<TbInfoSubjectVo> infoList();

    boolean updateState(String id, String state);

	List<TbInfoSubjectVo> getByTrialId(String trialId);
}
